package com.frinder.robot.strategy.action;

import akka.actor.ActorRef;
import com.frinder.robot.task.BaseRobotTask;
import lombok.Builder;
import lombok.Getter;
import lombok.ToString;

/**
 * @ClassName ApplyForTaskToActionPayload
 * @Description 转化任务为动作请求
 * @Author frinder
 * @Date 2019/10/18 14:04
 * @Verion 1.0
 */
@ToString
@Getter
@Builder
public class ConvertTaskToActionPayload {

    private ActorRef sender;

    private ActorRef receiver;

    private BaseRobotTask task;

    private Type type;

    public enum Type {
        POINT_TO_POINT,
        SCAN_CODE,
        FORK_PALLET,
        PUT_DOWN_PALLET
    }
}
